package fit.deni.hibernate;

import org.hibernate.Session;

import fit.deni.beans.Log;
import fit.deni.hibernate.interfaces.LogService;

public class LogServiceImpl implements LogService {

	private Session session;

	public LogServiceImpl(Session session) {
		this.session = session;
	}

	public void addLog(Log log) {
		session.save(log);
	}

}
